package com.vip.dao.order.domain;


import com.vip.base.domain.BaseEntity;
import com.vip.dao.admin.domain.User;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.*;


/**
 * 订单对象 shop_order
 * 
 * @author ruoyi
 * @date 2021-08-25
 */

@Data
@Entity
@Table(name = "shopOrder")
public class ShopOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long orderId;

    /** 订单总数 */
    @Column
    private Long totalNumber;

    /** 订单金额 */
    @Column
    private Long totalMony;

    /** 配送地址 */
    @Column
    private String address;

    /** 1.完成2.未完成 */
    @Column
    private int status;

    /** 用户电话 */
    @Column
    private String telephone;

    /** 商品列表 */
    @Column
    private String commons;

    /**用户id*/
    @Column
    private Long uid;


}
